<html>
    <head>
        <title>
            <?php echo $art['title'] ?>  
        </title>
        <meta charset="utf-8">     
    </head>
    <body>
        <h1 style="text-align: center;">
            内容修改
        </h1>
        <div style="width:1200px; margin:0 auto;">
            <form action="index.php?c=admin&a=updateart&id=<?php echo $art['art_id'] ?>" method="post">
                <!-- 加载编辑器的容器 -->
                标题：<input type="text" name="title" value="<?php echo $art['title'] ?>"/><br>
                分类：<select name='class'>
                    <option value="1">官方公告</option>
                     <option value="2">新手教程</option>
                      <option value="3">刷单技巧</option>
                </select>
                作者：<input type="text" name="author" value="<?php echo $art['author'] ?>"/><br>
                内容：<script id="container" name="content" type="text/plain">
                    <?php echo $art['content'] ?>
                </script>
                <input type="submit" value="提交" name="submit"/>
            </form>  
        </div>
        <!-- 配置文件 -->
        <script type="text/javascript" src="web/ueditor/ueditor.config.js"></script>
        <!-- 编辑器源码文件 -->
        <script type="text/javascript" src="web/ueditor/ueditor.all.js"></script>
        <!-- 实例化编辑器 -->
        <script src="web/js/jquery-2.1.1.min.js"></script>
        <script type="text/javascript">
            var ue = UE.getEditor('container');
            var i=<?php echo $art['artc'] ?>-1;
            console.info(i);
            $('select option').eq(i).attr("selected",'true')
        </script>
    </body>
</html>